//2009/08/18 19:52:24
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class SimpleDuplicateRemover
{
public:
    vector <int> process(vector <int> seq)
    {
        vector<int> v;
        for (int i=0; i<seq.size(); i++)
        {
            bool flag = false;
            for (int j=i+1; j<seq.size(); j++)
            {
                if (seq[i] == seq[j])
                {
                    flag = true;
                    break;
                }
            }
			if(!flag) v.push_back(seq[i]);
        }
		return v;
    }
};
